<%@page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录</title>
<link href="${pageContext.request.contextPath}/stylesheets/register.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
<!--
function login()
{
	document.getElementById("login_form_").submit();
}
document.onkeypress= test;
function test(evt)
{
	var e=window.event||evt;
	if(e.keyCode==13)
	{
	 	login();
    }
}
//-->
</script>
</head>
<body onload="javascript:document.getElementById('j_username').focus();">
	<!-- logo e -->
	<div id="wrapper" class="clearfix v5_user_register" style="margin-top:70px;">
		<!--reg start-->
		<div class="login-div clearfix">
			<h4 class="reg-title">登录</h4>
			<div class="reg-left fl">
		    	<form name="login_form_" id="login_form_" action="${pageContext.request.contextPath}/j_spring_security_check" method="post" >
		            <div class="reg-field">
		            	<label for="j_username">用户名：</label>
		            	<input value="" id="j_username" name="j_username" type="text" class="input-text"/>
		            	<span id="tip_j_username"></span>
		            </div>
		            <div class="reg-field">
		                <label for="j_password">密码：</label>
		                <input value="" name="j_password" id="j_password" type="password" class="input-text"/>
		                <span id="tip_j_password"></span>
		            </div>
		            <div class="reg-submit" id="reg-submit">
		                <a href="#1" onclick="javascript:login();"  class="login-btn" id="login-submit">登录</a>
		            </div>
		        </form>
			</div>
		</div>
		<!--reg end-->
	</div>
</body>
</html>
